/*
 * @Description: 按钮权限
 * @Author: zyj
 * @Date: 2022-06-09 14:12:02
 * @LastEditors: zyj
 * @LastEditTime: 2022-07-04 10:46:13
 */
//totalPower为用户从后台获取到的所有按钮权限数据，这里为模拟
const totalPower = ['goods:query', "goods:add", "goods:edit", "goods:delete"];

// 所有权限按钮的映射表
const powerMap = {
  goodsQuery: "goods:query",
  goodsAdd: "goods:add",
  goodsEdit: "goods:edit",
  goodsDelete: "goods:delete",
}

export { totalPower, powerMap }